<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.27.2/axios.min.js"></script>
</head>
<body>
    <script>
        axios.interceptors.request.use(function(config){
            return config
        })

        axios.interceptors.response.use(function(response){
            return response
        },function(error){
            return Promise.reject(error);
        })
    </script>
</body>
</html>